package com.zros.modules.business.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zros.modules.business.entity.Shop;
import com.zros.modules.business.entity.UserApply;
import com.zros.modules.business.mapper.ShopMapper;
import com.zros.modules.business.mapper.UserApplyMapper;
import com.zros.modules.business.service.IUserApplyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zros.modules.business.vo.ShopVo;
import com.zros.modules.business.vo.UserApplyVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lvkai
 * @since 2020-04-18
 */
@Service
public class UserApplyServiceImpl extends ServiceImpl<UserApplyMapper, UserApply> implements IUserApplyService {

    @Autowired
    private UserApplyMapper userApplyMapper;

    @Override
    public Page<UserApplyVo> queryList(Page<UserApplyVo> page, UserApply userApply )
    {
        Page<UserApplyVo> pageUserApplyVo = userApplyMapper.queryList(page, userApply);
        return pageUserApplyVo;
    }

    @Override
    public UserApplyVo qryApplyInfoById(UserApply userApply) {
        UserApplyVo userApplyVo = userApplyMapper.qryApplyInfoById(userApply);
        return userApplyVo;
    }
}
